package config;

import bean.MyBean;
import org.springframework.context.annotation.Bean;


public class BeanConfig {



    @Bean
    public MyBean myBean() {
        return new MyBean(12,"张三");
    }


}
